package com.hds.modules.app.entity.wx.po;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

public class WeixinUser implements Serializable {

    static final long serialVersionUID = 2697521543342357543L;

    private String uid;
    private int sex;//0:女，1:男
    private String language;
    private String city;
    private String province;
    private String country;
    private String unionid;

    /**用户opneid*/
    private String wxUserOpenid;

    /**用户微信头像*/
    private String wxUserHeadimgurl;

    /**用户微信昵称*/
    private String wxUserNickname;

    public String getUid() {
        return uid;
    }
    public void setUid(String uid) {
        this.uid = uid;
    }
    public int getSex() {
        return sex;
    }
    public void setSex(int sex) {
        this.sex = sex;
    }
    public String getLanguage() {
        return language;
    }
    public void setLanguage(String language) {
        this.language = language;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCountry() {
        return country;
    }
    public void setCountry(String country) {
        this.country = country;
    }
    public String getUnionid() {
        return unionid;
    }
    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }
    public String getWxUserOpenid() {
        return wxUserOpenid;
    }
    public void setWxUserOpenid(String wxUserOpenid) {
        this.wxUserOpenid = wxUserOpenid;
    }
    public String getWxUserHeadimgurl() {
        return wxUserHeadimgurl;
    }
    public void setWxUserHeadimgurl(String wxUserHeadimgurl) {
        this.wxUserHeadimgurl = wxUserHeadimgurl;
    }
    public String getWxUserNickname() {
        return wxUserNickname;
    }
    public void setWxUserNickname(String wxUserNickname) {
        this.wxUserNickname = wxUserNickname;
    }
    @Override
    public String toString() {
        return "WeixinUser [" + (uid != null ? "uid=" + uid + ", " : "") + "sex=" + sex + ", "
                + (language != null ? "language=" + language + ", " : "") + (city != null ? "city=" + city + ", " : "")
                + (province != null ? "province=" + province + ", " : "")
                + (country != null ? "country=" + country + ", " : "")
                + (unionid != null ? "unionid=" + unionid + ", " : "")
                + (wxUserOpenid != null ? "wxUserOpenid=" + wxUserOpenid + ", " : "")
                + (wxUserHeadimgurl != null ? "wxUserHeadimgurl=" + wxUserHeadimgurl + ", " : "")
                + (wxUserNickname != null ? "wxUserNickname=" + wxUserNickname : "") + "]";
    }



}